<?=$this->form?>
<script type="text/javascript">

    $(document.body).ready(

            function(){
                var pic='/grid/images/edit.png';

                $('#grid img').each(function(){



                    if(pic==$(this).attr('src'))
                                   {
                                       $(this).parent().attr('href','/rotator/editpublic/id/'+$(this).parent().attr('href').replace(/\D*/, ""));

                                   }

                });




            }

    );

</script>